package com.example.stmp.Mapper;

import com.example.stmp.Entity.AdministrativeClass;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface AdministrativeClassMapper {
    int insertAdministrativeClass(AdministrativeClass administrativeClass);
    int insertAdministrativeClassBatch(List<AdministrativeClass> list);
    int deleteAdministrativeClassById(String acId);
    int updateAdministrativeClass(AdministrativeClass administrativeClass);
    AdministrativeClass selectAdministrativeClassById(String acId);
    List<AdministrativeClass> selectAdministrativeClassByCondition(@Param("acName") String acName, @Param("counselor") String counselor, @Param("majorName") String majorName);
}
